﻿namespace IDAL
{
    public interface IBaseDAL<T>
    {
        Task<int> AddAsync(T t);
        Task<int> AddAsyncList(List<T> t);
        Task<int> DeleteAsync(T t);
        Task<int> DeleteAsyncList(List<T> t);
        Task<int> UpdateAsync(T t);
        Task<int> UpdateAsyncList(List<T> t);
        IQueryable<T> GetAll();


    }
}
